package com.example.sesata.dao;

import com.example.sesata.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author chensixiang chensixiang1234@gmail.com
 */
@Mapper
public interface OrderDao {
    void insert(Order order);

    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
